#include<stdio.h>

char* StrChoice(char *arr, char *ret)
{
	int i = 0, j = 0;
	while (arr[i])
	{
		if(!arr[i+1])
		{
			ret[j] = arr[i];
			ret[j+1] = '\0';
			break;
		}
		ret[j] = arr[i];
		i+=2;
		j++;
	}
	return ret;
}

int main()
{
	char arr[100] = {0};
	char ret[100] = {0};
	scanf("%s", arr);
	printf("%s\n", StrChoice(arr, ret));

	return 0;
}


